const ev = require('./index')

// 订阅
ev.on('/login', ({ user, pass }) => {
  console.log(user, pass)
})